package com.ych.modules.common.service.impl;

import com.ych.modules.base.dbEntity.TSysAgreementEntity;
import com.ych.modules.base.service.ITSysAgreementService;
import com.ych.modules.common.service.AgreementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2021/1/4
 * Time: 16:29
 * Description:
 */
@Service("AgreementService")
public class AgreementServiceImpl implements AgreementService {
    @Autowired
    private ITSysAgreementService itSysAgreementService;

    @Override
    public TSysAgreementEntity getAgreement(String agreementId) {
        return itSysAgreementService.selectById(agreementId);
    }
}
